﻿using System;
using MonoGame;
using Microsoft.Xna.Framework.Graphics;
using System.Collections.Generic;
using TunnelsOfDeath.Objects;

namespace TunnelsOfDeath
{
    static class Globals
    {
        //Constants
        public const float OBJECTAREA = 85;
        public const long SPEED = 130;

        //GFX
        public static float ScreenRatio = 0.5f;
        public static float ScreenFixX = 0.0f;
        public static float ScreenFixY = 0.0f;
        public static int ScreenX;
        public static int ScreenY;
        public static List<Texture2D> Textures = new List<Texture2D>();
        public static List<Texture2D> Screens = new List<Texture2D>();

        //TOOLS
        public static Managers.ObjectManager ObjectManager = new Managers.ObjectManager();
        public static Generator MainGenerator = new Generator();
        public static Random random = new Random();
        public static Managers.MapManager MyMapManager = new Managers.MapManager();

        //MAP
        public static Sprite[,] Map = null;
        public static List<Sprite> Animated = new List<Sprite>();
        public static List<Sprite> PositionUpdate = new List<Sprite>();

        //Camera
        public static Texture2D ScreenCleaner;
        public static Managers.CameraManager MyCameraManager = new Managers.CameraManager();

        //Game state
        public static GameState CurrentState;
        public static List<Player> ActivePlayersOnMap = new List<Player>();
        public static string CurrentMapName = "";
        public static string CurrentMapPack = "map";
        public static PlayerData MainPlayer;
        public static bool MultiPlayer = false;
        public static Managers.StateManager StateManager = new Managers.StateManager();

        //Gui
        public static GUI Gui = null;
        
    }
}
